import { httpweb } from '@/utils/httpweb'
/**
 * @sign 监测点数据
 * @method GET
 * @url /geomis-mobile-biz/map/getAllMonitoringPoint
 */
export const getAllMonitoringPoint_API = () => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/getAllMonitoringPoint`,
        method: 'GET',
    })
}

/**
 * @sign 隐患点数据
 * @method GET
 * @url /geomis-mobile-biz/map/getAllHiddenDangerPoint
 */
export const getAllHiddenDangerPoint_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/getAllHiddenDangerPoint`,
        method: 'GET',
        data,
    })
}

/**
 * @sign 切坡建房数据
 * @method GET
 * @url /geomis-mobile-biz/map/getAllCutSlopePoint
 */
export const getAllCutSlopePoint_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/getAllCutSlopePoint`,
        method: 'GET',
        data,
    })
}

/**
 * @sign 隐患点地图总览
 * @method GET
 * @url /geomis-mobile-biz/map/hiddenMonitorAreaList
 */
export const getHiddenMonitorAreaList_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/hiddenMonitorAreaList`,
        method: 'GET',
        data,
    })
}
/**
 * @sign 地质灾害点
 * @method GET
 * @url /geomis-mobile-biz/earlyWarning/count
 */
export const GetEarlywarningCount_API = (data = {}) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/earlyWarning/count`,
        method: 'GET',
        data,
    })
}
/**
 * @sign 风险预警
 * @method GET
 * @url /dmgis_dcpj/qxcx/query
 */
export const GetQxcxQuery_API = (data) => {
    return httpweb({
        url: `/dmgispt/dmgis_dcpj/qxcx/query`,
        method: 'GET',
        data,
    })
}
/**
 * @sign 气象雨量站
 * @method GET
 * @url /dmgispt/dmgis_dcpj/qxcx/selectByCityCountyAndTime
 */
export const GetSelectByCityCountyAndTime_API = (data) => {
    return httpweb({
        url: `/dmgispt/dmgis_dcpj/qxcx/selectByCityCountyAndTime`,
        method: 'GET',
        data,
    })
}

/**
 * @sign 自建雨量站
 * @method GET
 * @url /gateway/geomis-monitor-biz/deviceInfo/getYLinfo
 */
export const GetYLinfo_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-monitor-biz/deviceInfo/getYLinfo`,
        method: 'GET',
        data,
    })
}
/**
 * @sign // 根据【隐患点编号】查询隐患点基本信息和群测群防员信息
 * @method GET
 * @url /geomis-mobile-biz/map/getYinHuanDianXinXiByCode
 */
export const getYinHuanDianXinXiByCode_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/getYinHuanDianXinXiByCode/${data}`,
        method: 'GET',
    })
}
/**
 * @sign // 根据切坡建房ID查询基本信息
 * @method GET
 * @url /geomis-mobile-biz/map/getQiePoXinXiById
 */
export const getQiePoXinXiById_API = (data) => {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/map/getQiePoXinXiById/${data}`,
        method: 'GET',
    })
}
/**
 * @sign // 根据切坡建房ID查询基本信息
 * @method GET
 * @url /HNDZNewProductDataWebService/DataAccessService.asmx/GetWarnProducts
 */
export const getWarnProducts_API = (data) => {
    return httpweb({
        url: `/HNDZNewProductDataWebService/DataAccessService.asmx/GetWarnProducts`,
        method: 'GET',
        data,
    })
}

/**
 * @sign // 短期预警
 * @method GET
 * @url /HNDZNewProductDataWebService/DataAccessService.asmx/GetWarnProductNewest
 */
export const GetWarnProductNewest_API = (data) => {
    return httpweb({
        url: `/HNDZNewProductDataWebService/DataAccessService.asmx/GetWarnProductNewest`,
        method: 'GET',
        data,
    })
}

export function getyinHuanDian_API(data) {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/api/mobile/top/yinHuanDian`,
        method: 'GET',
        data,
    })
}
export function getjianCe_API(data) {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/api/mobile/top/jianCe`,
        method: 'GET',
        data,
    })
}
export function getqiePoJianFan_API(data) {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/api/mobile/top/qiePoJianFan`,
        method: 'GET',
        data,
    })
}
export function getzxq_API(data) {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/api/mobile/top/zxq`,
        method: 'GET',
        data,
    })
}
export function getxiangMu_API(data) {
    return httpweb({
        url: `/gateway/geomis-mobile-biz/api/mobile/top/xiangMu`,
        method: 'GET',
        data,
    })
}
